/*
** utils.c for RayTracer in /home/jeanma_d//Damien/Igraph/raytracer-yoda
** 
** Made by damien jeanmaire
** Login   <jeanma_d@epitech.net>
** 
** Started on  Thu Apr 26 15:48:18 2012 damien jeanmaire
** Last update Thu Apr 26 15:50:56 2012 damien jeanmaire
*/

#include	<unistd.h>
#include	<stdlib.h>

void		my_putchar(char c)
{
  if (!write(1, &c, 1))
    exit(1);
}

void		my_putstr(char *str)
{
  while (*str)
    my_putchar(*str++);
}
